<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}
.STYLE6 {color: #000000; font-size: 12; }
.STYLE10 {color: #000000; font-size: 12px; }
.STYLE19 {
	color: #344b50;
	font-size: 12px;
}
.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}
.STYLE22 {
	font-size: 12px;
	color: #295568;
}
input{
	color:#3CC;}
-->
</style>
<script type="text/javascript"  src="../admin_core/templates/admin/js/comment.js" charset="gbk">
</script>
<script type="text/javascript">
function conf()
{
	if(confirm('确认修改#{$userName}#权限吗？'))
	{
	document.getElementById("messgeForm").submit();	
	}
}
</script>
</head>

<body>
<center>
<div style="width:100%; height:50px;">
</div>
<fieldset style="width:80%;">
<legend><img src="images/311.gif"/>&nbsp;<span style="color:#333;;; font-size:15px; font-weight:bold;">修改管理员权限</span></legend>
<form action="control.php?action=updatePurview"   method="post" id="messgeForm">
<table width="60%">
<tr>
<td width="50%" style="text-align:right; font-size:14px; color:#09C;">
用户名：
</td>
<td align="left">
#{$userName}#
<input type="hidden" name="adminId" value="#{$adminId}#"/>
</td>
</tr>
<tr>
<td width="50%" style="text-align:right; font-size:14px; color:#09C;">
Email：
</td>
<td align="left">
#{$email}#
</td>
</tr>
<tr>
<td width="50%" style="text-align:right; font-size:14px; color:#09C;">
权限：
</td>
<td align="left">
#{if $purview==1}#
普通管理员
#{else if $purview==2}#
管理员
#{else if $purview==3}#
超级管理员
#{/if}#
</td>
</tr>
<tr>
<td width="50%" style="text-align:right; font-size:14px; color:#09C;">
选择新的权限：
</td>
<td align="left">
<select name="purview" style="width:200px; height:20px;">
<option value="1" #{if $purview==1}# selected="selected" #{/if}#>普通管理员</option>
<option value="2" #{if $purview==2}# selected="selected" #{/if}#>管理员</option>
<option value="3" #{if $purview==3}# selected="selected" #{/if}#>超级管理员</option>
</select>
</td>
</tr>
<tr>
<td width="50%" style="text-align:right; font-size:14px; color:#09C;">
<input type="button" value=" 修改 " onclick="conf()" onmousemove="changeButton(this,'url(images/61.gif)','#fff')" style="background-image:url(images/40.gif); width:65px; height:23px; border:0px;" onmouseout="changeButton(this,'url(images/40.gif)','#09C')"/>
</td>
<td align="left">
<input type="reset" value=" 重置 " onmousemove="changeButton(this,'url(images/61.gif)','#fff')" style="background-image:url(images/40.gif); width:65px; height:23px; border:0px;" onmouseout="changeButton(this,'url(images/40.gif)','#09C')"/>
</td>
</tr>
</table>
</form>
</fieldset>
</center>
</body>
</html>
